package com.xmtlxx.oms.mapper;

import com.xmtlxx.oms.domain.RfidDetectorConfig;
import com.xmtlxx.oms.domain.bo.RfidDetectorConfigBo;
import com.xmtlxx.oms.domain.vo.RfidDetectorConfigVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xmtlxx.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 监控设备配置Mapper接口
 *
 * @author xmtlxx
 * @date 2023-03-13
 */
public interface RfidDetectorConfigMapper extends BaseMapperPlus<RfidDetectorConfigMapper, RfidDetectorConfig, RfidDetectorConfigVo> {
    /**
     * 根据条件分页查询监控设备配置
     *
     * @param rfidDetectorConfig 监控设备配置
     * @return Page RfidDetectorConfig
     */
    Page<RfidDetectorConfigVo> selectPageRfidDetectorConfigList(@Param("page") Page<RfidDetectorConfig> page,@Param("rfidDetectorConfig") RfidDetectorConfigBo rfidDetectorConfig);

    /**
     * 查询监控设备配置列表
     *
     * @param rfidDetectorConfig 监控设备配置
     * @return 监控设备配置集合
     */
    List<RfidDetectorConfigVo> selectRfidDetectorConfigList(@Param("rfidDetectorConfig") RfidDetectorConfigBo rfidDetectorConfig);

    RfidDetectorConfigVo selectRfidDetectorConfigVoByID(String id);
}
